<?php
/**
 * 关于商城
 * ds
 * 2020.08.13
 */
namespace App\Models\MainDB;

use Illuminate\Database\Eloquent\Model;

class About extends Model{

    protected $table = 'ln_about';    

    protected $primaryKey = 'id';

    protected $fillable = [
        'id',      //主键ID
        'title',         //主播uid
        'content',      //内容
        'classify_id',      //分类id
        'add_time',      //添加事件
        
    ];

    public $timestamps = false;

    public function about_classify() {
        return $this->hasOne("App\Models\MainDB\AboutClassify", "id", "classify_id");
    }

}